var express = require('express');
var app = express();
app.use(express.static("public"));
app.use(express.static("data"));
app.get("/",function(req,res){
  res.set("Content-Type","text/html;charset=utf-8");
  res.sendFile(__dirname+"/views/index.html")
});

var server = app.listen(8080,function(){
  console.log("启动服务,端口号：8080");
});

